//0 = no map orders
//1 = defend hex secondary
//2 = defend hex primary
//3 = 
//4 = air superiority garrison - parks air unit here until threatened
//5 = interceptor garrison - parks air unit here until threatened or no bombing occurs within tactical range
//6 = bomber garrison - parks air unit here until threatened
//7 = air offensive - bombers within 5 hexes will attack all enemy land targets in range
//8 = Raid supply - naval units rail supply lanes in raider mode with a small fleet
//9 = Raid merchant marine - naval units rail convoy lanes randomly between all raid hexes
//10 = Invaside - invasion hexes to select
//### All garrison orders hold position until the situation is not defendable.
//11 = Garrison Large - Defend designated A.I. Units occupy hex first then Defend/Garrison A.I. units
//12 = Garrison Attack - Attack designated A.I. Units occupy hex
//13 = Garrison Small - Garrison designated A.I. Units occupy hex first then Defend/Garrison A.I. units
//14 = Retreat - Consider all hexes within tactical range a retreat zone and move away
//15 = 
//16 = Small Naval Patrol - 1-3 naval groups hold position in fleet mode
//17 = Medium Naval Patrol - 4-6 naval groups hold position in fleet mode
//18 = Large Naval Patrol - 7-9 naval groups hold position in fleet mode
//19 = HQ Garrison - Support designated A.I. Units occupy hex only
//### All hold orders stay at position regardless of the enemy units
//20 = Hold Large - Defend designated A.I. Units occupy hex first then Defend/Garrison A.I. units
//21 = Hold Attack - Attack designated A.I. Units occupy hex
//22 = Hold Small - Garrison designated A.I. Units occupy hex first then Defend/Garrison A.I. units 
//24 = Battlegroup port - Surface naval groups will use this location as a naval base
//25 = Carrier port - Carrier and support naval groups will use this location as a naval base
//26 = Submarine port - Submarine groups will use this location as a naval base
//27 = Offensive Large - This is a hold that has last priority on the garrison call for Defend designated units first then Defend/Garrison
//27 = Offensive Armor - This is a hold that has last priority on the garrison call for Attack designated units

//Unit designation is set in the "A.I. Units" tab of the editor main menu on the top row

//Place Axis ignore in Iraq so they don't send air there unless they control the middle east
$ChangeOrder
if_Date=1/1/1939
actionCountry=6
lifespan=tillTrigger
//Iraq ignore
xyArea=217,9,31
xyArea=211,14,31
xyArea=212,20,31
xyArea=216,20,31
$End

$ChangeOrder
if_Date=1/1/1939
actionCountry=6
lifespan=continuous
xyControl=197,13,Axis
xyControl=198,13,Axis
xyControl=200,14,Axis
xyControl=198,17,Axis
xyControl=200,17,Axis
xyControl=199,18,Axis
//Iraq ignore
xyArea=217,9,0
xyArea=211,14,0
xyArea=212,20,0
xyArea=216,20,0
$End

//UK removes garrisons in Egypt once Italy enters the war
$ChangeOrder
if_Date=1/1/1939
if_Country=7
if_Alliance=Axis
actionCountry=1
lifespan=tillTrigger
//Jerusalem
xyArea=198,13,1
//Alexandria
xyArea=194,11,13
$End

//Germany Adds Polish garrisons after Poland falls
$ChangeOrder
if_Date=1/1/1939
if_Country=42
if_Surrender=true
actionCountry=6
lifespan=tillTrigger
xyArea=173,67,11
xyArea=171,59,11
xyArea=172,60,11
xyArea=167,56,11
xyArea=172,54,11
xyArea=175,55,11
//removes air garrisons
xyArea=171,58,0
xyArea=172,58,0
//adds Danish air garrisons
xyArea=155,65,6
xyArea=158,65,6
$End

//Germany Removes Polish garrisons when Germany goes to war with the USSR
$ChangeOrder
if_Date=1/1/1939
if_Country=4
if_Alliance=Allies
actionCountry=6
lifespan=tillTrigger
xyArea=173,67,0
xyArea=171,59,1
xyArea=172,60,0
xyArea=167,56,1
xyArea=172,54,1
xyArea=175,55,0
$End

//Ensures German units ignore French front lines
//After Poland is conquered send armor to the French frontline
$ChangeOrder
if_Date=1/1/1939
if_Country=42
if_Surrender=true
actionCountry=6
lifespan=tillTrigger
xyArea=148,56,12
xyArea=148,55,12
xyArea=149,56,12
xyArea=149,55,12
xyArea=147,53,0
xyArea=142,56,0
$End

//Germany - Denmark border garrison removal so they can invade
$ChangeOrder
if_Date=1/1/1939
if_Country=17
if_Alliance=Allies
actionCountry=6
lifespan=tillTrigger
xyArea=153,66,0
xyArea=154,67,0
$End

//Germany - Remove Danish air holds when Denmark surrenders
$ChangeOrder
if_Date=1/1/1939
if_Country=17
if_Surrender=true
actionCountry=6
lifespan=tillTrigger
xyArea=155,65,0
xyArea=158,65,0
$End

//If Germany occupy Norway change Narvik garrison order to corp garrison for Allies
$ChangeOrder
if_Date=9/1/1939
if_Country=38
if_Surrender=true
lifespan=tillTrigger
actionCountry=1
xyArea=170,92,11 
$End

//Add bomber hold in Trondheim
$ChangeOrder
if_Date=9/1/1939
if_Country=38
if_Surrender=true
lifespan=tillTrigger
actionCountry=6
//add bomber garrison
xyArea=153,80,6
$End

//Germany - With Poland conquered add all the polish objectives back 
$ChangeOrder
if_Date=1/1/1939
if_Country=42
if_Surrender=true
actionCountry=6
lifespan=tillTrigger
xyArea=175,55,trueAxis
xyArea=176,64,trueAxis
xyArea=177,59,trueAxis
xyArea=178,53,trueAxis
xyArea=178,57,trueAxis
xyArea=179,62,trueAxis
xyArea=180,67,trueAxis
$End

//set up defense orders after polands fall for USSR
$ChangeOrder
if_Date=1/1/1939
if_Country=42
if_Surrender=true
lifespan=tillTrigger
actionCountry=4
xyArea=174,70,11
xyArea=174,71,11
xyArea=175,61,11
xyArea=175,64,11
xyArea=175,69,11
xyArea=176,61,11
xyArea=176,64,11
xyArea=176,69,11
xyArea=177,59,20
xyArea=177,60,11
xyArea=177,65,11
xyArea=177,66,11
xyArea=177,68,11
xyArea=178,53,11
xyArea=178,63,12
xyArea=178,68,11
xyArea=178,72,11
xyArea=179,54,11
xyArea=179,55,11
xyArea=179,56,11
xyArea=179,58,11
xyArea=179,62,12
xyArea=179,63,12
xyArea=179,65,11
xyArea=179,70,12
xyArea=180,53,11
xyArea=180,67,11
xyArea=181,53,11
xyArea=182,52,11
xyArea=182,55,12
xyArea=182,57,11
xyArea=183,54,12
xyArea=183,55,12
xyArea=184,51,11
xyArea=185,50,11
xyArea=186,50,11
xyArea=187,48,11
xyArea=187,49,11
xyArea=188,47,11
xyArea=188,48,11
xyArea=200,54,2
xyArea=201,50,0
xyArea=205,48,2
xyArea=183,75,2
//HQs
xyArea=178,71,19
xyArea=179,64,19
xyArea=181,54,19
xyArea=190,50,19
xyArea=181,64,1
xyArea=182,66,1

$End

//Remove Netherlands garrisons from up front positions.
$ChangeOrder
if_Date=1/1/1939
if_Country=36
if_Surrender=true
lifespan=tillTrigger
actionCountry=1
xyArea=146,60,0
xyArea=146,59,0
$End

//Germany releases armor garrison once Belgium is at war
$ChangeOrder
if_Date=1/1/1939
if_Country=12
if_Alliance=Allies
actionCountry=6
lifespan=tillTrigger
xyArea=148,56,0
xyArea=149,56,1
xyArea=149,55,2
xyArea=148,55,0
$End

//Germany releases air garrison once France surrenders
$ChangeOrder
if_Date=1/1/1939
if_Country=2
if_Surrender= true
actionCountry=6
lifespan=tillTrigger
xyArea=143,56,0
xyArea=144,56,0
xyArea=144,55,0
$End

//Germany - Remove Special Blitz objectives in Belgium after Belgium falls
$ChangeOrder
if_Date=1/1/1939
if_Country=12
if_Surrender=true
actionCountry=6
lifespan=tillTrigger
xyArea=145,54,falseAxis
xyArea=145,55,falseAxis
$End

//Remove no offensive if France attempts to enter Germany
$ChangeOrder
if_Date=1/1/1939
landUnitInRadius=150,55,1,2,Allies
actionCountry=6
lifespan=tillTrigger
//remove no offensive
xyArea=150,50,0
xyArea=155,54,0
$End

//Remove no offensive if France attempts to enter Germany
$ChangeOrder
if_Date=1/1/1939
landUnitInRadius=153,53,1,2,Allies
actionCountry=6
lifespan=tillTrigger
//remove no offensive
xyArea=150,50,0
xyArea=155,54,0
$End

//Remove no offensive if France attempts to enter Germany
$ChangeOrder
if_Date=1/1/1939
landUnitInRadius=153,49,1,2,Allies
actionCountry=6
lifespan=tillTrigger
//remove no offensive
xyArea=150,50,0
xyArea=155,54,0
$End

//remove garrisons if French retreat Maginot Line top
$ChangeOrder
if_Date=1/1/1939
landUnitInRadius=150,52,0,1,Allies
actionCountry=6
lifespan=tillTrigger
//Seigfried line
xyArea=151,52,2
xyArea=150,53,1
xyArea=151,51,1
$End

//remove garrisons if French retreat Maginot Line top
$ChangeOrder
if_Date=1/1/1939
landUnitInRadius=150,49,0,1,Allies
actionCountry=6
lifespan=tillTrigger
//Seigfried line
xyArea=151,50,2
xyArea=151,49,1
xyArea=151,48,1
$End

//change garrison order Seigfriend line after France falls for Germany
$ChangeOrder
if_Date=1/1/1939
if_Country=2
if_Surrender=true
actionCountry=6
lifespan=tillTrigger
//Seigfried line
xyArea=148,54,1
xyArea=150,53,1
xyArea=151,51,1
xyArea=151,49,1
xyArea=149,53,2
xyArea=151,52,2
xyArea=151,50,2
xyArea=151,48,1
//remove no offensive
xyArea=150,50,0
xyArea=155,54,0
$End

//Remove UK air holds after France falls. We keep 3 for defense. Remove Allied retreat order for Lille
$ChangeOrder
if_Date=1/1/1939
if_Country=2
if_Surrender=true
lifespan=tillTrigger
actionCountry=1
xyArea=138,60,0
xyArea=133,58,0
xyArea=132,59,0
xyArea=131,57,0
//restore retreat area in france to null
//xyArea=146,58,0
$End

//Germany adds objectives to protect after fall of France
$ChangeOrder
if_Date=1/1/1939
if_Country=2
if_Surrender=true
lifespan=tillTrigger
actionCountry=6
xyArea=135,40,trueAxis
xyArea=135,43,trueAxis
xyArea=142,39,trueAxis
xyArea=140,41,trueAxis
xyArea=146,39,trueAxis
xyArea=144,43,trueAxis
$End

//Germany adds garrisons to protect after fall of France
$ChangeOrder
if_Date=6/1/1940
landUnitInRadius=141,45,0,12,Allies
lifespan=tillTrigger
actionCountry=6
xyArea=144,60,13
xyArea=143,58,13
xyArea=143,57,13
xyArea=142,56,13
xyArea=140,57,13
xyArea=141,57,13
xyArea=139,53,13
xyArea=140,51,11
xyArea=138,50,13
xyArea=134,54,13
xyArea=133,49,13
xyArea=129,51,13
xyArea=135,43,26
xyArea=134,47,13
xyArea=137,54,13
xyArea=141,57,13
xyArea=130,50,13
$End

//remove garrisons in Yugoslavia once going to war
$ChangeOrder
if_Date=5/1/1939
if_Country=57
if_Alliance=Allies
lifespan=tillTrigger
actionCountry=6
xyArea=167,47,0
xyArea=167,46,0
xyArea=169,45,0
xyArea=170,45,0
xyArea=168,46,0
xyArea=171,45,0
xyArea=169,46,0
xyArea=170,46,0
xyArea=169,46,0
$End

//Germany sets up offensive for Greece after Yugoslavia falls
$ChangeOrder
if_Date=6/1/1940
if_Plan=2
if_Country=57
if_Surrender=true
lifespan=tillTrigger
actionCountry=6
xyArea=172,31,27
xyArea=173,31,27
xyArea=174,32,27
xyArea=175,32,27
xyArea=176,33,27
xyArea=174,33,19
$End

//Germany removes offensive garrison orders once Greece is Allied
$ChangeOrder
if_Date=6/1/1940
if_Plan=2
if_Country=22
if_Alliance=Allies
lifespan=tillTrigger
actionCountry=6
xyArea=172,31,0
xyArea=173,31,0
xyArea=174,32,0
xyArea=175,32,0
xyArea=176,33,0
xyArea=174,33,0
$End

//Greece remove Allied objectives once conquered
$ChangeOrder
if_Date=1/1/1939
if_Country=22
if_Surrender=true
lifespan=tillTrigger
actionCountry=1
xyArea=176,28,falseAllies
xyArea=174,30,falseAllies
$End

//Germany sets up offensive vs Spain after Vichy France falls
$ChangeOrder
if_Date=6/1/1940
if_Plan=2
if_Country=54
if_Alliance=Allies
//Axis hold Vichy
landUnitInRadius=143,46,1,0,Axis
lifespan=tillTrigger
actionCountry=6
xyArea=134,41,27
xyArea=135,40,28
xyArea=136,40,27
xyArea=136,41,27
xyArea=137,39,27
xyArea=137,40,27
xyArea=139,39,27
xyArea=140,39,27
xyArea=140,40,27
xyArea=141,38,28
xyArea=141,39,27
xyArea=142,39,27
xyArea=139,41,19
xyArea=140,41,19
$End

//Germany clears offensive garrisons on Spain's border
$ChangeOrder
if_Date=6/1/1940
if_Plan=2
if_Country=45
if_Alliance=Allies
lifespan=tillTrigger
actionCountry=6
xyArea=134,41,0
xyArea=135,40,0
xyArea=136,40,0
xyArea=136,41,0
xyArea=137,39,0
xyArea=137,40,0
xyArea=139,39,0
xyArea=140,39,0
xyArea=140,40,0
xyArea=141,38,0
xyArea=141,39,0
xyArea=142,39,0
xyArea=139,41,0
xyArea=140,41,0
$End

//Germany clears garrisons in Spain if Allies invade France or Spain
$ChangeOrder
if_Date=6/1/1942
//Allies land in Spain
landUnitInRadius=126,32,1,11,Allies
lifespan=tillTrigger
actionCountry=6
xyArea=126,30,0
xyArea=127,30,0
xyArea=127,29,0
xyArea=128,30,0
xyArea=131,30,0
xyArea=131,27,0
$End

//Germany clears garrisons in Spain if Allies invade France or Spain
$ChangeOrder
if_Date=6/1/1942
//Allies land in France
landUnitInRadius=140,51,1,3,Allies
lifespan=tillTrigger
actionCountry=6
xyArea=126,30,0
xyArea=127,30,0
xyArea=127,29,0
xyArea=128,30,0
xyArea=131,30,0
xyArea=131,27,0
$End


//Germany places border garrisons in preparation for Barbarossa
//This is to ensure certain positions are filled on the map where a gather might fail
//and to pull at least 4 armor to the front and prevent them from going to other countries
$ChangeOrder
if_Date=1/1/1939
if_Plan=1
if_Country=2
if_Surrender=true
lifespan=tillTrigger
actionCountry=6
xyArea=174,62,28
xyArea=175,65,27
xyArea=174,69,27
xyArea=176,54,28
//revert1
xyArea=176,59,27
//revert2
xyArea=176,60,27
xyArea=176,66,28
xyArea=176,68,28
//revert2
xyArea=177,58,27
//revert1
xyArea=178,56,28
//revert1
xyArea=183,46,27
xyArea=184,46,27
//revert0
xyArea=177,56,27
xyArea=176,56,27
xyArea=175,55,27
xyArea=175,54,27
xyArea=175,68,28
xyArea=176,67,27
xyArea=173,64,27
xyArea=172,63,27
xyArea=173,62,28
xyArea=173,61,27
xyArea=172,67,27
xyArea=176,66,28
xyArea=175,67,27
xyArea=173,59,27
xyArea=175,58,28
xyArea=176,58,27
xyArea=172,64,28
xyArea=173,63,27
xyArea=173,66,27
xyArea=174,54,27
xyArea=174,61,27
xyArea=174,68,27
xyArea=175,52,27
xyArea=175,53,27
xyArea=175,66,27
xyArea=177,57,28
xyArea=184,44,27
xyArea=184,47,27
//HQ areas
xyArea=169,59,19
xyArea=169,62,19
xyArea=171,56,19
xyArea=171,65,19
xyArea=184,43,19
$End

$ChangeOrder
if_Date=1/1/1942
if_Country=4
if_Alliance=Neutral
lifespan=tillTrigger
actionCountry=6
xyArea=174,62,28
xyArea=175,65,27
xyArea=174,69,27
xyArea=176,54,28
//revert1
xyArea=176,59,27
//revert2
xyArea=176,60,27
xyArea=176,66,28
xyArea=176,68,28
//revert2
xyArea=177,58,27
//revert1
xyArea=178,56,28
//revert1
xyArea=183,46,27
xyArea=184,46,27
//revert0
xyArea=177,56,27
xyArea=176,56,27
xyArea=175,55,27
xyArea=175,54,27
xyArea=175,68,28
xyArea=176,67,27
xyArea=173,64,27
xyArea=172,63,27
xyArea=173,62,28
xyArea=173,61,27
xyArea=172,67,27
xyArea=176,66,28
xyArea=175,67,27
xyArea=173,59,27
xyArea=175,58,28
xyArea=176,58,27
xyArea=172,64,28
xyArea=173,63,27
xyArea=173,66,27
xyArea=174,54,27
xyArea=174,61,27
xyArea=174,68,27
xyArea=175,52,27
xyArea=175,53,27
xyArea=175,66,27
xyArea=177,57,28
xyArea=184,44,27
xyArea=184,47,27
//HQ areas
xyArea=169,59,19
xyArea=169,62,19
xyArea=171,56,19
xyArea=171,65,19
xyArea=184,43,19
$End

//Germany change back the areas for the USSR invasion
$ChangeOrder
if_Date=5/15/1941
if_Country=4
if_Alliance=Allies
lifespan=tillTrigger
actionCountry=6
xyArea=174,62,0
xyArea=175,65,0
xyArea=174,69,0
xyArea=176,54,0
//revert1
xyArea=176,59,1
//revert2
xyArea=176,60,2
xyArea=176,66,0
xyArea=176,68,0
//revert2
xyArea=177,58,2
//revert1
xyArea=178,56,1
//revert1
xyArea=183,46,1
xyArea=184,46,0
//revert0
xyArea=177,56,0
xyArea=176,56,0
xyArea=175,55,0
xyArea=175,54,0
xyArea=175,68,0
xyArea=176,67,0
xyArea=173,64,0
xyArea=172,63,0
xyArea=173,62,0
xyArea=173,61,0
xyArea=172,67,0
xyArea=176,66,0
xyArea=175,67,0
xyArea=173,59,0
xyArea=175,58,0
xyArea=176,58,0
xyArea=172,64,0
xyArea=173,63,0
xyArea=173,66,0
xyArea=174,54,0
xyArea=174,61,0
xyArea=174,68,0
xyArea=175,52,0
xyArea=175,53,0
xyArea=175,66,0
xyArea=177,57,0
xyArea=184,44,0
xyArea=184,47,0
//HQ areas
xyArea=169,59,0
xyArea=169,62,0
xyArea=171,56,0
xyArea=171,65,0
xyArea=184,43,0
$End

//France Defense
//Remove holds and change to defense when Axis break through front line next to Saint Quentin
$ChangeOrder
if_Date=11/1/1939
landUnitInRadius=143,55,1,0,Axis
lifespan=tillTrigger
actionCountry=2
xyArea=143,55,1
xyArea=144,56,1
xyArea=144,55,1
$End

//France Defense
//Remove holds and change to defense when Axis break through front line next to Saint Quentin
$ChangeOrder
if_Date=11/1/1939
landUnitInRadius=143,55,1,0,Axis
lifespan=tillTrigger
actionCountry=2
xyArea=143,55,1
xyArea=144,56,1
xyArea=144,55,1
xyArea=145,53,1
$End

//France Defense
//Remove holds South of Saint Quentin once Axis break through
$ChangeOrder
if_Date=11/1/1939
landUnitInRadius=141,51,1,2,Axis
lifespan=tillTrigger
actionCountry=2
xyArea=142,53,1
xyArea=143,52,1
xyArea=143,53,1
xyArea=140,54,1
$End

//France Surrenders
//Remove all holds once France surrenders
$ChangeOrder
if_Date=9/1/1939
if_Country=12
if_Surrender=true
lifespan=tillTrigger
actionCountry=2
xyArea=142,53,1
xyArea=143,52,1
xyArea=143,53,1
xyArea=140,54,1
$End

//Belgium Holds
//Remove holds once Belgium is conquered
$ChangeOrder
if_Date=11/1/1939
if_Country=12
if_Surrender=true
landUnitInRadius=144,53,1,1,Axis
lifespan=tillTrigger
actionCountry=1
xyArea=143,57,0
xyArea=143,56,0
xyArea=144,57,1
xyArea=145,57,1
xyArea=146,57,1
xyArea=146,56,1
$End

//France Defense Armor hold release
//Release armor garrison
$ChangeOrder
if_Date=11/1/1939
landUnitInRadius=141,51,1,5,Axis
lifespan=tillTrigger
actionCountry=1
xyArea=141,52,0
$End

//Germany set submarine port in France after fall
//Release armor garrison
$ChangeOrder
if_Date=9/1/1939
if_Country=2
if_Surrender=true
lifespan=tillTrigger
actionCountry=6
xyArea=135,43,26
xyArea=153,65,11
xyArea=133,49,13
$End

//Germany set submarine port back to Germany once Allies retake France
//Release armor garrison
$ChangeOrder
if_Date=9/1/1943
xyControl=138,50,Allies
lifespan=tillTrigger
actionCountry=6
xyArea=135,43,0
xyArea=153,65,13
xyArea=154,68,26
$End

//Germany --- add garrisons slowly to coast
$ChangeOrder
if_Date=11/1/1942
if_Country=6
xyControl=140,51,Axis
lifespan=tillTrigger
actionCountry=6
xyArea=133,51,13
xyArea=129,51,11
xyArea=134,54,11
xyArea=140,51,11
xyArea=142,56,11
xyArea=148,52,11
$End

//Vichy France change orders to garrisons in colonies
$ChangeOrder
if_Date=1/1/1939
xyControl=142,23,Neutral
lifespan=tillTrigger
actionCountry=6
xyArea=124,16,22
xyArea=142,23,22
xyArea=154,23,22
$End

//Vichy France change orders to garrisons in colonies
$ChangeOrder
if_Date=1/1/1939
xyControl=142,23,Neutral
lifespan=tillTrigger
actionCountry=1
xyArea=124,16,22
xyArea=142,23,22
xyArea=154,23,22
$End

//next 2 change the garrisons at El Alamein and make them defends when 1941 starts and UK has plenty of units
//put UK on offense in Africa
$ChangeOrder
if_Date=1/1/1941
lifespan=tillTrigger
actionCountry=1
xyArea=187,9,1
xyArea=187,10,1
$End

//North Africa remove Allied air holds in 1942 if no axis
$ChangeOrder
if_Date=1/1/1942
if_Country=7
if_Surrender=Axis
lifespan=tillTrigger
actionCountry=1
xyArea=193,10,0
xyArea=193,18,0
$End

//Change Syria after France Falls
$ChangeOrder
if_Date=1/1/1939
if_Country=2
if_Surrender=true
lifespan=tillTrigger
actionCountry=1
xyArea=198,17,24
xyArea=200,17,2
xyArea=198,18,2
$End

//Change Syria after UK takes it over
$ChangeOrder
if_Date=1/1/1939
if_Country=2
if_Surrender=true
xyControl=200,17,Allies
lifespan=tillTrigger
actionCountry=1
xyArea=198,17,24
xyArea=200,17,0
xyArea=198,18,13
$End

//Italian Alps garrisons after France falls
$ChangeOrder
if_Date=1/1/1939
if_Country=2
if_Surrender=true
lifespan=tillTrigger
actionCountry=7
xyArea=149,40,0
xyArea=148,42,0
xyArea=149,43,0
$End

//France pull back to Defend Paris 
$ChangeOrder
if_Date=1/1/1939
landUnitInRadius=139,50,3,3,Axis
lifespan=tillTrigger
actionCountry=2
xyArea=148,52,11
xyArea=140,53,11
xyArea=139,51,20
xyArea=140,52,20
xyArea=141,51,20
xyArea=141,50,20
$End

//Remove Athens as objective
$ChangeOrder
if_Date=1/1/1939
if_Country=22
if_Surrender=true
lifespan=tillTrigger
xyArea=177,26,falseAllies
$End

//change Allied AI orders removing all garrison orders in 1942 so they can attack in 1943 and 1944
$ChangeOrder
if_Date=1/1/1939
if_Country=4
if_Alliance=Allies
lifespan=tillTrigger
actionCountry=1
//USSR
xyArea=174,70,0
xyArea=174,71,0
xyArea=175,61,0
xyArea=175,64,0
xyArea=175,69,0
xyArea=176,61,0
xyArea=176,64,0
xyArea=176,69,0
xyArea=177,59,0
xyArea=177,60,0
xyArea=177,65,0
xyArea=177,66,0
xyArea=177,68,0
xyArea=178,53,0
xyArea=178,63,0
xyArea=178,68,0
xyArea=178,72,2
xyArea=179,54,0
xyArea=179,55,0
xyArea=179,56,0
xyArea=179,58,0
xyArea=179,62,0
xyArea=179,63,0
xyArea=179,65,0
xyArea=179,70,0
xyArea=180,53,0
xyArea=180,67,0
xyArea=181,53,0
xyArea=182,52,0
xyArea=182,55,0
xyArea=182,57,0
xyArea=183,54,0
xyArea=183,55,0
xyArea=184,51,0
xyArea=185,50,0
xyArea=186,50,0
xyArea=187,48,0
xyArea=187,49,0
xyArea=188,47,0
xyArea=188,48,0
//HQs
xyArea=178,71,0
xyArea=179,64,0
xyArea=181,54,0
xyArea=190,50,0
//Warsaw
xyArea=173,60,0
xyArea=171,59,0
xyArea=173,61,0
xyArea=174,61,0
xyArea=174,60,0
xyArea=173,59,0
xyArea=172,60,0
xyArea=172,61,0
xyArea=172,54,0
//France
xyArea=146,60,1
xyArea=146,59,1
xyArea=145,57,1
xyArea=143,57,1
xyArea=144,57,2
xyArea=146,57,2
xyArea=146,56,1
xyArea=143,56,1
xyArea=141,56,1
xyArea=142,56,2
xyArea=143,55,1
xyArea=144,55,1
xyArea=144,54,1
xyArea=145,53,1
xyArea=146,53,2
xyArea=147,53,1
xyArea=148,53,2
xyArea=149,52,1
xyArea=150,52,2
xyArea=150,51,1
xyArea=150,50,2
xyArea=150,49,1
xyArea=148,52,1
xyArea=143,54,0
xyArea=143,53,0
xyArea=142,53,0
xyArea=143,52,0
xyArea=140,54,2
xyArea=139,53,2
xyArea=141,52,0
xyArea=140,52,0
xyArea=141,51,0
xyArea=140,51,2
xyArea=140,49,0
xyArea=144,50,0
xyArea=148,44,2
xyArea=147,41,2
xyArea=148,40,2
xyArea=146,42,0
$End

//Allies change garrisons when Yugoslavia surrenders so
$ChangeOrder
if_Date=1/1/1939
if_Country=57
if_Surrender=true
lifespan=tillTrigger
actionCountry=1
xyArea=166,45,0
xyArea=171,41,0
xyArea=172,41,0
xyArea=172,42,0
xyArea=173,40,0
xyArea=173,41,0
$End

//Germany change objectives in Yugoslavia so Axis march south
$ChangeOrder
if_Date=1/1/1939
xyControl=166,45,Axis
lifespan=tillTrigger
actionCountry=6
xyArea=169,43,trueAxis
xyArea=172,41,trueAxis
$End

//Germany change objectives in Yugoslavia when they surrender so Axis march south.
$ChangeOrder
if_Date=1/1/1939
xyControl=166,45,Axis
xyControl=172,41,Axis
lifespan=tillTrigger
actionCountry=6
xyArea=174,37,trueAxis
xyArea=174,34,trueAxis
xyArea=164,41,trueAxis
xyArea=169,36,trueAxis
$End

//Romania and Hungary change orders and remove garrisons once Barbarossa starts
$ChangeOrder
if_Date=1/1/1939
if_Country=4
if_Alliance=Allies
lifespan=tillTrigger
actionCountry=6
//Romania
xyArea=183,44,0
xyArea=183,42,0
xyArea=184,45,2
xyArea=186,44,0
xyArea=183,47,0
//Hungary
xyArea=177,50,0
xyArea=179,49,0
xyArea=177,49,0
xyArea=171,49,0
$End

//USSR add Leningrad defensive line when Germany gets close to Leningrad
$ChangeOrder
if_Date=1/1/1939
landUnitInRadius=187,72,1,5,Axis
lifespan=tillTrigger
actionCountry=4
xyArea=187,76,2
xyArea=188,77,2
xyArea=188,76,1
xyArea=188,75,1
xyArea=188,74,2
xyArea=189,73,1
xyArea=189,75,12
$End

//USSR move defense line if leningrad falls
$ChangeOrder
if_Date=1/1/1941
xyControl=187,77,Axis
actionCountry=4
lifespan=tillTrigger
xyArea=190,78,1
xyArea=190,77,1
xyArea=190,76,1
xyArea=189,75,1
$End

//USSR move defense line if Novograd falls
$ChangeOrder
if_Date=1/1/1941
xyControl=188,74,Axis
actionCountry=4
lifespan=tillTrigger
xyArea=189,74,1
xyArea=189,73,1
xyArea=189,72,1
$End

//change air orders for USSR after Barabarossa
$ChangeOrder
if_Date=1/1/1939
if_Country=4
if_Alliance=Allies
actionCountry=4
lifespan=tillTrigger
//Remove air holds
xyArea=198,65,0
xyArea=199,64,0
xyArea=199,63,0
xyArea=190,78,0
xyArea=192,75,0
xyArea=184,71,0
xyArea=188,64,0
xyArea=188,54,0
xyArea=193,52,0
xyArea=190,76,0
xyArea=194,48,0
$End

//USSR remove Kerch garrison when not threatened
$ChangeOrder
if_Date=1/1/1943
landUnitInRadius=200,44,0,10,Axis
lifespan=tillTrigger
actionCountry=4
xyArea=200,44,1
$End

//USSR change Leningrad garrison to a defend when they join the Allies
$ChangeOrder
if_Date=1/1/1943
if_Country=4
if_Alliance=Allies
lifespan=tillTrigger
actionCountry=4
xyArea=186,78,1
$End

//When the Allies take Algiers change/add some garrisons in Italy
$ChangeOrder
if_Country=3
if_Date=3/1/1942
if_Country=3
if_Alliance=Allies
xyControl=142,23,Allies
actionCountry=6
lifespan=tillTrigger
//adds garrisons around Rome, Naples, and Taranto
xyArea=157,35,22
xyArea=159,34,20
xyArea=163,31,11
xyArea=166,32,22
xyArea=158,35,20
xyArea=166,29,13
//changes
//Sicily convert Garrisons to infantry and add 2 more garrisons to slow allies down
xyArea=160,26,20
xyArea=162,26,22
xyArea=162,24,22
xyArea=159,25,13
//Strengthen important garrisons
xyArea=162,32,11
xyArea=162,33,11
$End

//Allies raid italian supplies in Sicily
$ChangeOrder
if_Date=6/1/1943
landUnitInRadius=161,25,1,4,Allies
lifespan=tillTrigger
actionCountry=3
xyArea=164,25,8
xyArea=161,27,8
$End

//Remove patrols for Allies once Italy surrenders
$ChangeOrder
if_Date=6/1/1939
if_Country=7
if_Surrender=true
lifespan=tillTrigger
actionCountry=1
xyArea=186,14,0
xyArea=195,15,0
$End

//Remove patrols for Allies once USA is in the war
$ChangeOrder
if_Date=6/1/1939
if_Country=3
if_Alliance=Allies
lifespan=tillTrigger
actionCountry=3
xyArea=137,68,0
$End

//Turn off allied raid supply zones when they take Sicily
$ChangeOrder
if_Date=6/1/1943
landUnitInRadius=161,25,0,4,Axis
lifespan=tillTrigger
actionCountry=3
xyArea=164,25,0
xyArea=161,27,0
$End

//Turn off allied raid supply zones end of December
$ChangeOrder
if_Date=12/31/1943
lifespan=tillTrigger
actionCountry=3
xyArea=164,25,0
xyArea=161,27,0
$End

//When the Allies advance up Italy
$ChangeOrder
if_Country=3
if_Date=1/1/1942
if_Alliance=Allies
lifespan=tillTrigger
xyControl=158,35,Allies
actionCountry=6
//improve upper Italian garrisons once Allies take Rome
xyArea=155,38,11
xyArea=160,39,11
xyArea=152,42,11
xyArea=157,44,13
xyArea=160,46,11
$End

//USSR retreat from Baltic front line so they don't get trapped
$ChangeOrder
if_Country=4
if_Date=1/1/1939
if_Alliance=Allies
lifespan=tillTrigger
actionCountry=4
xyArea=174,67,31
$End

//USSR retreat from North Baltic States so they don't get trapped when Axis take South of Narva
$ChangeOrder
if_Country=4
if_Date=1/1/1939
if_Alliance=Allies
lifespan=tillTrigger
xyControl=183,72,Axis
xyControl=183,70,Axis
actionCountry=4
xyArea=178,74,31
$End

//USSR retreat Marshes when Axis are close to Kiev and Gomel
$ChangeOrder
if_Country=4
if_Date=1/1/1939
if_Alliance=Allies
lifespan=tillTrigger
xyControl=188,56,Axis
xyControl=186,63,Axis
actionCountry=4
xyArea=183,59,31
$End

//Change Tunis to Allied Port
$ChangeOrder
if_Date=2/1/1943
landUnitInRadius=154,23,1,3,Allies
lifespan=tillTrigger
actionCountry=3
xyArea=154,23,24
$End

//Change Algiers to an Allied Port
$ChangeOrder
if_Date=2/1/1943
landUnitInRadius=142,23,1,3,Allies
lifespan=tillTrigger
actionCountry=3
xyArea=142,23,24
$End

//Change objectives in North Africa for Allies if they control Algiers
$ChangeOrder
if_Date=1/1/1942
if_Country=3
if_Alliance=Allies
xyControl=142,23,Allies
lifespan=tillTrigger
actionCountry=3
xyControl=145,22,Allies
xyControl=148,23,Allies
xyControl=150,21,Allies
xyControl=154,23,Allies
xyControl=155,20,Allies
xyControl=154,17,Allies
xyControl=155,15,Allies
$End

//Change objectives in North Africa for Allies if they control Tripoli
$ChangeOrder
if_Date=1/1/1942
if_Country=3
if_Alliance=Allies
xyControl=160,14,Allies
lifespan=tillTrigger
actionCountry=3
xyControl=145,22,Allies
xyControl=148,23,Allies
xyControl=150,21,Allies
xyControl=154,23,Allies
xyControl=155,20,Allies
xyControl=154,17,Allies
xyControl=155,15,Allies
$End

//Allied off shore support to block supply in Sardinia
$ChangeOrder
if_Date=2/1/1943
landUnitInRadius=153,31,1,3,Allies
lifespan=tillTrigger
actionCountry=1
xyArea=152,28,8
$End

//Remove off shore support Sardinia and set up objectives in Corsica
$ChangeOrder
if_Date=2/1/1943
landUnitInRadius=153,31,0,3,Axis
lifespan=tillTrigger
actionCountry=1
xyArea=152,28,0
xyArea=152,35,trueAllies
xyArea=152,37,trueAllies
$End

//Allied air land offensive vs Italy On
$ChangeOrder
if_Date=3/1/1943
//no Axis in Tunisia
landUnitInRadius=152,21,0,7,Axis
lifespan=tillTrigger
actionCountry=3
//Tunisia locations
xyArea=154,24,6
xyArea=154,23,6
xyArea=155,22,6
xyArea=153,21,6
xyArea=153,23,6
xyArea=152,21,7
$End

//Allied air land offensive vs Italy Off
$ChangeOrder
if_Date=3/1/1943
//no Axis in Sicily
landUnitInRadius=161,25,0,3,Axis
lifespan=tillTrigger
//Tunisia locations
actionCountry=3
xyArea=154,24,0
xyArea=154,23,0
xyArea=155,22,0
xyArea=153,21,0
xyArea=153,23,0
xyArea=152,21,0
$End

//Germany retreat positions if outflanked
//If USSR takes Kiev make sure South Ukraine forces are not cut off
$ChangeOrder
if_Date=5/1/1943
lifespan=tillTrigger
xyControl=189,56,Allies
actionCountry=6
xyArea=197,51,14
xyArea=198,43,14
$End

//If USSR takes Minsk make sure Leningrad forces are not cut off
$ChangeOrder
if_Date=5/1/1943
lifespan=tillTrigger
xyControl=183,64,Allies
actionCountry=6
xyArea=185,72,14
xyArea=183,74,14
$End

//Western Front retreats in 1944
//If Allies take Paris retreat any units west of Paris
$ChangeOrder
if_Date=5/1/1944
lifespan=tillTrigger
xyControl=140,51,Allies
actionCountry=6
xyArea=134,50,14
xyArea=140,43,14
$End

//Finland defensive positions 1943 if Soviets threaten
$ChangeOrder
if_Date=1/1/1943
lifespan=tillTrigger
xyControl=186,78,Allies
actionCountry=6
xyArea=182,79,1
xyArea=182,78,1
xyArea=183,78,2
xyArea=183,78,2
xyArea=185,80,0
xyArea=186,80,0
xyArea=180,80,19
$End

//Axis increase defense 1943
$ChangeOrder
if_Date=1/1/1943
lifespan=tillTrigger
actionCountry=6
xyArea=148,52,trueAxis
xyArea=140,51,11
$End

//Axis defend D-Day
$ChangeOrder
if_Date=1/1/1944
lifespan=tillTrigger
actionCountry=6
xyArea=137,50,12
xyArea=141,51,12
xyArea=130,50,11
xyArea=133,51,13
xyArea=134,54,11
xyArea=135,52,13
xyArea=136,53,11
xyArea=137,54,13
xyArea=140,56,13
xyArea=140,57,11
xyArea=143,57,11
xyArea=143,58,11
xyArea=144,60,11
$End

//Allies raid German potential supply lines off of France
$ChangeOrder
if_Date=6/1/1943
landUnitInRadius=136,53,1,8,Allies
lifespan=tillTrigger
actionCountry=3
//set to raid
xyArea=128,53,8
xyArea=136,55,8
xyArea=140,59,8
$End

//Axis defend after Allies advance in france
$ChangeOrder
if_Date=1/1/1943
landUnitInRadius=148,52,1,6,Allies
lifespan=tillTrigger
actionCountry=6
xyArea=148,52,2
$End

//Axis defend after Allies advance in france
$ChangeOrder
if_Date=1/1/1943
landUnitInRadius=142,56,1,6,Allies
lifespan=tillTrigger
actionCountry=6
xyArea=142,56,2
$End

//Axis defend after Allies advance in france
$ChangeOrder
if_Date=1/1/1943
landUnitInRadius=139,53,1,6,Allies
lifespan=tillTrigger
actionCountry=6
xyArea=139,53,11
$End

//Axis garrison Vichy France
$ChangeOrder
if_Date=1/1/1941
lifespan=tillTrigger
xyControl=143,46,Axis
actionCountry=6
xyArea=143,46,13
xyArea=147,44,13
xyArea=140,42,13
xyArea=140,51,13
$End

//Germany reinforces France in 1943
$ChangeOrder
if_Date=3/1/1943
landUnitInRadius=135,51,0,5,Allies
lifespan=tillTrigger
actionCountry=6
xyArea=141,51,12
xyArea=132,51,13
$End

//Germany reinforces France in 1944
$ChangeOrder
if_Date=3/1/1944
landUnitInRadius=135,51,0,5,Allies
lifespan=tillTrigger
actionCountry=6
xyArea=140,56,11
xyArea=136,53,11
xyArea=140,52,11
$End

//Allies start bombing missions for D-Day
$ChangeOrder
if_Date=3/1/1944
if_Country=3
xyControl=137,58,Allies
lifespan=tillTrigger
actionCountry=3
xyArea=130,60,7
xyArea=137,61,7
$End

//Allies cancel bombing missions when on shore and objectives taken
$ChangeOrder
if_Date=3/1/1944
//All of the Western landing zones
landUnitInRadius=133,51,0,4,Axis
lifespan=tillTrigger
actionCountry=3
xyArea=130,60,0
xyArea=137,61,0
$End

//When Allies land in Normandy remove garrisons
$ChangeOrder
if_Date=3/1/1944
landUnitInRadius=135,51,1,5,Allies
lifespan=tillTrigger
actionCountry=6
xyArea=140,52,0
xyArea=141,51,0
xyArea=132,51,0
xyArea=141,57,0
xyArea=136,53,0
xyArea=140,56,0
xyArea=138,51,0
xyArea=141,57,0
xyArea=135,53,0
$End

//When Allies land in Belgium remove garrisons so they don't get cut off
$ChangeOrder
if_Date=3/1/1943
landUnitInRadius=148,58,1,5,Allies
lifespan=tillTrigger
actionCountry=6
xyArea=140,52,0
xyArea=141,51,0
xyArea=132,51,0
xyArea=141,57,0
xyArea=136,53,0
xyArea=140,56,0
xyArea=140,56,0
xyArea=138,51,0
xyArea=141,57,0
xyArea=135,53,0
$End

//Finland changes defensive lines late in the war
$ChangeOrder
if_Date=3/1/1943
//Leningrad
landUnitInRadius=187,77,1,0,Allies
lifespan=tillTrigger
actionCountry=20
xyArea=185,80,13
xyArea=186,80,13
xyArea=186,78,11
xyArea=185,82,13
xyArea=183,78,11
xyArea=179,78,11
$End
